package cn.wolfcode.luowowo.comment.repository;

import cn.wolfcode.luowowo.comment.domain.ScenicComment;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface IScenicCommentRepository extends MongoRepository<ScenicComment,String> {
    //自定义方法查询评论内容
    List<ScenicComment> findScenicCommentsBy(Long detailId);
}
